package com.sunshine.pay.entity;

import java.io.Serializable;

/**
 * 订单项表(OrderItem)实体类
 *
 * @author makejava
 * @since 2025-09-25 10:00:00
 */
public class OrderItem implements Serializable {
    private static final long serialVersionUID = 454664708820448498L;
    
    /**
     * 订单项唯一标识符
     */
    private Long orderItemId;
    
    /**
     * 关联订单ID
     */
    private Long orderId;
    
    /**
     * 关联商品ID
     */
    private Long productId;
    
    /**
     * 关联SKUID（已弃用）
     */
    private Long skuId;
    
    /**
     * 商品名称
     */
    private String productName;
    
    /**
     * 购买数量
     */
    private Integer quantity;
    
    /**
     * 单价
     */
    private Double price;
    
    /**
     * 商品图片URL
     */
    private String productImageUrl;

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
    
    public String getProductImageUrl() {
        return productImageUrl;
    }
    
    public void setProductImageUrl(String productImageUrl) {
        this.productImageUrl = productImageUrl;
    }
}